import { h, renderSlots } from "../../lib/guide-coco-mini-vue.esm.js";

export default {
	name: "Child",
	setup(props, { emit }) {
		
		return {}
	},
	render() {
		const childMsg = '******************我是 Child 组件 内部的消息！******************';
		const node = h('p', { style: 'height:30px; width:320px; background-color:skyblue; ' }, '我是 child p')
		return h('div', {}, [renderSlots(this.$slots, 'header', { childMsg}), node, renderSlots(this.$slots, 'footer'), renderSlots(this.$slots)]);
	},
};
